Skip to content

Conversation

@ioanatflowcrypt
Copy link
Collaborator

This PR improved my keys section

image

close #6114 // if this PR closes an issue


Tests (delete all except exactly one):

  • Does not need tests (refactor only, docs or internal changes)

To be filled by reviewers

I have reviewed that this PR... (tick whichever items you personally focused on during this review):

  • addresses the issue it closes (if any)
  • code is readable and understandable
  • is accompanied with tests, or tests are not needed
  • is free of vulnerabilities
  • is documented clearly and usefully, or doesn't need documentation

@ioanatflowcrypt ioanatflowcrypt marked this pull request as ready for review November 25, 2025 08:46
@ioanatflowcrypt ioanatflowcrypt mentioned this pull request Nov 25, 2025
5 tasks
Copy link
Collaborator

@sosnovsky sosnovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's make it more compact, like the previous version - in the current design only 2 keys are visible without scrolling, while previous layout showed 5 keys on the screen. it should be possible to fit full key information into a single line

old:
Image

new:
Image

@ioanatflowcrypt
Copy link
Collaborator Author

Sounds good. Fixed and pushed

@ioanatflowcrypt
Copy link
Collaborator Author

image

Copy link
Collaborator

@sosnovsky sosnovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks much better now 👍

Copy link
Collaborator

@sosnovsky sosnovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

almost there, just a couple improvements :)

// 3. Build HTML
// Header row
html += `
<div class="row key-list-header" style="font-weight: 600; padding: 10px 0; border-bottom: 2px solid #eee;">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's use padding: 5px 0; like it was in the previous version, as with 10px padding rows become too high as before.
also what about moving all these newly added styles to css instead of putting them inline into html?

const rowClass = isExpired ? 'key-content-row expired' : 'key-content-row';
const opacityStyle = isExpired ? 'opacity: 0.7;' : '';

html += `<div class="row ${rowClass}" style="padding: 10px 0; border-bottom: 1px solid #e6e6e6; align-items: center; ${opacityStyle}">`;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that the last row is cut off at the bottom and can't be scrolled, probably because of overflow with bottom bar, need to add some additional margin below keys table to fix it:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve "My keys" section

3 participants